/**
 * Created by minigci.he on 16/9/20.
 */
console.log('---------------------')
console.log('test5')

let set = new Set([1,2,3])
set = new Set([...set].map(x => x * 2))
console.log(set);   // {2, 4, 6}

let set1 = new Set([1,2,3,4,5])
set1 = new Set([...set1].filter(x => (x % 2) == 0))
console.log(set1);  // {2, 4}